ffmpeg: enable lto build for arm and x86_64
authorIan Leonard <[email protected]>
Tue, 8 Aug 2017 07:09:21 +0000 (00:09 -0700)
committerIan Leonard <[email protected]>
Fri, 11 Aug 2017 05:30:15 +0000 (22:30 -0700)
commitadc293d3d961118f2211a7cbd7251b4cd43eb7c3
tree760eec940c243445aa7421a7255da3adf8fb4206
parent3998494f28ddfeca6083c6aa591c875fd5477bf7
ffmpeg: enable lto build for arm and x86_64

This toggles on Link-Time Optimization for arm and x86-64.

Compile tested on arm/bcm47xx, arm/mvebu, arm/imx6 and x86-64/generic

(Also compile tested on mips/ar71xx where it failed so this change is currently for specific arches.)

Size savings for libffmpeg were 2-3% when measured with libffmpeg-full and libffmpeg-mini.

Signed-off-by: Ian Leonard <[email protected]>
multimedia/ffmpeg/Makefile